package com.leinao.project.model;

import java.io.Serializable;

public class PaiProjectJob implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8981776286165366468L;
    /**
     * 任务id
     */
	private Long id;
    /**
     * 任务名称
     */
    private String jobName;
    /**
     * 项目id
     */
    private Long projectId;
    /**
     * 项目名
     */
    private String projectName;
    /**
     * 创建时间
     */
    private Long createTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 任务的配置属性json格式字符串
     */
    private String config;
    /**
     * 任务编号
     */
    private Integer codeNo;
    /**
     * 删除标记
     */
    private Integer delFlag;
    /**
     * 任务类型
     */
    private Integer jobType;

    /**
     * 代码仓库分支标签
     */
    private String gitTag;

    /**
     * 用户ID
     */
    private String userId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName == null ? null : jobName.trim();
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config == null ? null : config.trim();
    }
    
	public Integer getCodeNo() {
		return codeNo;
	}

	public void setCodeNo(Integer codeNo) {
		this.codeNo = codeNo;
	}
	
	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getJobType() {
		return jobType;
	}

	public void setJobType(Integer jobType) {
		this.jobType = jobType;
	}

    public String getGitTag() {
        return gitTag;
    }

    public void setGitTag(String gitTag) {
        this.gitTag = gitTag;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "PaiProjectJobDto{" +
                "id=" + id +
                ", jobName='" + jobName + '\'' +
                ", projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", config='" + config + '\'' +
                ", codeNo=" + codeNo +
                ", delFlag=" + delFlag +
                ", jobType=" + jobType +
                ", gitTag='" + gitTag + '\'' +
                ", userId='" + userId + '\'' +
                '}';
    }
}